package com.sugar.queryinfo.module.business.dal.dataobject.dataquerynomraltype;

import com.sugar.queryinfo.framework.mybatis.core.type.StringListTypeHandler;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.sugar.queryinfo.framework.mybatis.core.dataobject.BaseDO;

/**
 * 数据查询默认类型 DO
 *
 * @author Ysugar
 */
@TableName(value = "business_data_query_nomral_type", autoResultMap = true)
@KeySequence("business_data_query_nomral_type_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DataQueryNomralTypeDO extends BaseDO {

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 默认Api类型Code
     */
    @TableField(typeHandler = StringListTypeHandler.class)
    private List<String> typeCode;
}
